<template>
  <div id="app">
  <ul>
    <li v-for='(item) in list' :key='item.id'>{{item}}</li>
  </ul>
  <button @click=' list.push( list.shift() )'>走一走</button>
  </div>
</template>

<script>


export default {
  name: 'App',
  data(){
    return{
     list: ['帅哥','美女','程序员']
    }
  },
}
</script>

<style>

</style>
